import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Scanner;

public class lxtext {
    public static void main(String[] args) {
        




        /*
        //第一题
      ArrayList<Integer> list = new ArrayList<>();
      while (true){
          Scanner sc = new Scanner(System.in);
          System.out.println("请输入数据：");
          String str = sc.nextLine();
          int i = Integer.parseInt(str);
          if (i<1||i>100){
              continue;
          }
          list.add(i);
          int sum = getSum(list);
          if (sum>200){
              break;
          }
      }
      for (int i =0;i<list.size();i++){
          System.out.println(list.get(i)+",");
      }

    }
    private static int getSum(ArrayList<Integer> list){
        int sum = 0;
        for (int i=0;i<list.size();i++){
            int num = list.get(i);
            sum+=num;
        }
        return sum;

         */
    }
}
